<!DOCTYPE html>
    <script src="{{static('js/jquery.min.js')}}"></script>
<html class="loaded"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    
    <title>{{ book.name }}</title>
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="robots" content="all">
    <meta name="googlebot" content="all">
    <meta name="baiduspider" content="all">
    <meta http-equiv="mobile-agent" content="format=wml; url=http://m.qidian.com/book/showbook.aspx?bookid=1004608738">
    <meta http-equiv="mobile-agent" content="format=xhtml; url=http://m.qidian.com/book/showbook.aspx?bookid=1004608738">
    <meta http-equiv="mobile-agent" content="format=html5; url=http://m.qidian.com/book/showbook.aspx?bookid=1004608738">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
    <meta name="renderer" content="webkit">
    <script async="" src="{{ static('js/yep.min.js')}}"></script><script src="{{ static('js/stats.js')}}" name="MTAH5" sid="500451537"></script><script src="{{ static('js/push.js')}}"></script><script>
        document.domain = 'qidian.com';
    </script>
    <script>
        var speedTimer = [],
        speedZero = new Date().getTime();
    </script>
    <script>
        function getCookie(name) {
            var arr, reg = new RegExp("(^| )" + name + "=([^;]*)(;|$)");
            arr = document.cookie.match(reg);
            if (arr){
                return arr[2];
            }else {
                return null;
            }
        }
        // tf = 1 用户选择，留在PC
        if (getCookie('tf') != 1) {
            if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){
                window.location.href="//m.qidian.com/book/1004608738";
            }
        }else{
            // M站设置了一年，这里fixed
            setCookie('tf', 1, 'qidian.com', '/', 0);
        }
    </script>
    
<script>
    //遇到cookie tf=1的话留在本站，否则跳转移动站
    if (getCookie('tf') != 1) {
        //判断是以下设备后跳转到m站
        if (navigator.userAgent.match(/(iPhone|iPod|Android)/i)) {
            location.href = "//m.qidian.com"
        }
    }else {
        // M站设置了一年，这里fixed
        setCookie('tf', 1, 'qidian.com', '/', 0);
    }
    // start 防劫持
    //设置cookie
    function setCookie(name, value, domain, path, expires) {
        if(expires){
            expires = new Date(+new Date() + expires);
        }
        var tempcookie = name + '=' + escape(value) +
                ((expires) ? '; expires=' + expires.toGMTString() : '') +
                ((path) ? '; path=' + path : '') +
                ((domain) ? '; domain=' + domain : '');
        //Ensure the cookie's size is under the limitation
        if(tempcookie.length < 4096) {
            document.cookie = tempcookie;
        }
    }
    //获取cookie
    function getCookie(name) {
        var arr, reg = new RegExp("(^| )" + name + "=([^;]*)(;|$)");
        if (arr = document.cookie.match(reg))
            return (arr[2]);
        else
            return null;
    }
    //创建并发送请求
    function createSender(url){
        var img = new Image();
        img.onload = img.onerror = function(){
            img = null;
        };
        img.src = url;
    };
</script>

<link data-ignore="true" rel="shortcut icon" type="image/x-icon" href="https://qidian.gtimg.com/qd/favicon/qd_icon.c443c.ico">
<link data-ignore="true" rel="Bookmark" type="image/x-icon" href="https://qidian.gtimg.com/qd/favicon/qd_icon.c443c.ico">


    
<link rel="stylesheet" data-ignore="true" href="{{ static('css/book_css/emoji.c4e81.css')}}">

    
    <link data-ignore="true" rel="stylesheet" href="{{ static('css/book_css/module.a841b.css')}}">
    <link data-ignore="true" rel="stylesheet" href="{{ static('css/book_css/layout.5de0f.css')}}">
    <link data-ignore="true" rel="stylesheet" href="{{ static('css/book_css/book_details.1baf2.css')}}">
    
<link charset="utf-8" rel="stylesheet" href="{{ static('css/book_css/Panel.css')}}"><link charset="utf-8" rel="stylesheet" href="{{ static('css/book_css/LightTip.css')}}"><link charset="utf-8" rel="stylesheet" href="{{ static('css/book_css/Popup.css')}}"><link charset="utf-8" rel="stylesheet" href="{{ static('css/book_css/Drag.css')}}"><style name="lbf-overlay">.lbf-overlay { position:fixed; top:0; left:0;}</style></head>
<body style="zoom: 1;">

<div class="wrap">
    
    
    
<div id="pin-nav" class="pin-nav-wrap need-search" data-l1="40">
    <div class="box-center cf">
        <div class="nav-list site-nav fl">
            <ul>
                <li class="site"><a class="pin-logo"  data-eid="qd_A43"></a>
                    <div class="dropdown">

                    </div>
                </li>
                <li><a href="{{ url('book:book', args=(1,)) }}" target="" data-eid="qd_A47"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">玄幻</font></font></a></li>
                <li><a href="{{ url('book:book', args=(5,)) }}" target="" data-eid="qd_A48"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">都市</font></font></a></li>
                <li><a href="{{ url('book:book', args=(3,)) }}" target="" data-eid="qd_A49"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">仙侠</font></font></a></li>
                <li><a href="{{ url('book:book', args=(11,)) }}" target="" data-eid="qd_A50"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">科幻</font></font></a></li>
                <li><a href="{{ url('book:book', args=(9,)) }}" target="" data-eid="qd_A56"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">游戏</font></font></a></li>
                <li><a href="{{ url('book:book', args=(8,)) }}" target="" data-eid="qd_A52"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">历史</font></font></a></li>
                <li><a href="{{ url("index:rankings") }}" target="_blank" data-eid="qd_A53"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">排行</font></font></a></li>
            </ul>
        </div>
        <div class="nav-list min-user fr">
            <ul>
                <li id="min-search">
                    <form id="formUrl" action="{{ url('index:search') }}" method="get" target="_blank">
                        <label id="pin-search" for="topSearchSubmit" data-eid="qd_A62"><em>🔍</em>
                        </label>
                        <input id="pin-input" class="pin-input hide" type="text" name="q" placeholder="天启预报">
                        <input class="submit-input" type="submit" id="topSearchSubmit" data-eid="qd_A62">
                    </form>
                </li>
                <li class="line"></li>
                <li class="sign-out">
                    {% if user.id %}
                     <a id="pin-login" href="{{ url('user:logout') }}" data-eid="qd_A64">退出</a>
                     <a id="pin-login" href="{{ url('user:user_info') }}" data-eid="qd_A64">{{ user.username }}</a>
                    {% else %}
                    <a id="pin-login" href="{{ url('user:login') }}" data-eid="qd_A64">登录</a>
                    <a class="reg" href="{{ url('user:reg') }}" target="_blank">注册</a>
                {% endif %}
                </li>
                <li class="sign-in hidden">
                    <a href="https://me.qidian.com/Index.aspx" target="_blank" data-eid="qd_A65"><i id="nav-user-name"></i><span></span></a>
                    <div class="dropdown">
                        <a href="https://me.qidian.com/msg/lists.aspx?page=1" target="_blank" data-eid="qd_A66">消息(<i id="top-msg">0</i>)</a>
                        <a href="https://www.qidian.com/charge/meRedirect" target="_blank" data-eid="qd_A67">充值</a>
                        <a href="https://me.qidian.com/Index.aspx" target="_blank" data-eid="qd_A68">个人中心</a>
                        <a href="https://www.qidian.com/help/kf" target="_blank" data-eid="qd_A69">客服中心</a>
                        <a id="exit" href="javascript:" data-eid="qd_A70">退出</a>
                    </div>
                </li>
                <li class="line"></li>
                <li class="book-shelf" id="top-book-shelf">
                    <a href="{{ url('user:my_book_list') }}" target="_blank" data-eid="qd_A63"><i>我的书架
                    </i></a></li>
            </ul>
        </div>
    </div>
</div>

    
    

<div id="j-topHeadBox" class="top-bg-op-box " data-cookie="1" style="background-image:url(&#39;https://img0.qidian.com/upload/gamesy/2019/10/21/201910211801422sksycxtjs.jpg&#39;)" data-l1="1">
    <a class="jumpWrap" href="http://cpgame.qd.game.qidian.com/Home/Index/directLogin/name/hycszs/way/1?qd_game_key=hycszs2560x450.jpg&amp;qd_dd_p1=46569" target="_blank" data-eid="qd_G100" data-qd_dd_p1="1">
        <span class="op-tag"></span>
    </a>
    <a class="close-game-op" id="closeTopGame" href="javascript:" data-eid="qd_G101">点一下，玩一年，装备不用一分钱</a>
    
</div>
<div class="top-bg-box " id="j-topBgBox" style="background-image:url(&#39;//qidian.qpic.cn/qidian_common/349573/7f689b6db8ad99e6093bae7db9a7d130/0&#39;)">
    <span class="back-to-op" data-eid="qd_G106">热门游戏</span>
</div>

<div class="crumbs-nav center990  top-op" data-l1="1">
    
    <span>
        <cite class="lt"></cite>
        
    <a href="/" data-eid="qd_G01">首页</a>>>
    
        <a href="{{ url('book:book', args=(book.group.id, )) }}" target="_blank" data-eid="qd_G02">{{ book.group.name }}</a>>>
    
    <a href="{{ url('book:book_info_catalog', args=(book.id, )) }}">{{ book.name }}</a>
        <cite class="rt"></cite>
    </span>
</div>
<div class="border-shadow ">
    <span></span>
    <span></span>
</div>

    <div class="book-detail-wrap center990">
        <div class="book-information cf" data-l1="2">

    
    <div class="book-img">
        <a class="J-getJumpUrl" id="bookImg" href="https://read.qidian.com/chapter/_AaqI-dPJJ4uTkiRw_sFYA2/eSlFKP1Chzg1" data-eid="qd_G09" data-bid="1004608738" data-firstchapterjumpurl="//read.qidian.com/chapter/_AaqI-dPJJ4uTkiRw_sFYA2/eSlFKP1Chzg1"><img src="{{ book.book_image }}"></a>
    </div>
    
    <div class="book-info ">
        <h1>
            
            <em>{{ book.name }}</em>
            <span><a class="writer" href="#" target="_blank" data-eid="qd_G08">{{ book.author }}</a> 著</span>
            
        </h1>

        <p class="tag">
            {% if book.status %}
            <span class="blue">完本</span>
            {% else %}
            <span class="blue">连载</span>
            {% endif %}
            <a href="{{ url('book:book', args=(book.group.id,)) }}" class="red" target="_blank" data-eid="qd_G10">{{ book.group.name }}</a>

            
            
        </p>
        
        <p class="intro">{{ book.title|title_gl }}</p>
        <p><em><style>@font-face { font-family: meHiBKdX; src: url('https://qidian.gtimg.com/qd_anti_spider/meHiBKdX.eot?') format('eot'); src: url('https://qidian.gtimg.com/qd_anti_spider/meHiBKdX.woff') format('woff'), url('https://qidian.gtimg.com/qd_anti_spider/meHiBKdX.ttf') format('truetype'); } .meHiBKdX { font-family: 'meHiBKdX' !important;     display: initial !important; color: inherit !important; vertical-align: initial !important; }</style></em><cite></cite><i></i>
            <!-- <em>-1</em><cite>阅文总点击</cite><i>|</i>
            <em><style>@font-face { font-family: meHiBKdX; src: url('https://qidian.gtimg.com/qd_anti_spider/meHiBKdX.eot?') format('eot'); src: url('https://qidian.gtimg.com/qd_anti_spider/meHiBKdX.woff') format('woff'), url('https://qidian.gtimg.com/qd_anti_spider/meHiBKdX.ttf') format('truetype'); } .meHiBKdX { font-family: 'meHiBKdX' !important;     display: initial !important; color: inherit !important; vertical-align: initial !important; }</style><span class="meHiBKdX">&#100215;&#100212;&#100208;&#100213;</span></em><cite>万会员周点击</cite><i>|</i> -->
            <em><style>@font-face { font-family: meHiBKdX; src: url('https://qidian.gtimg.com/qd_anti_spider/meHiBKdX.eot?') format('eot'); src: url('https://qidian.gtimg.com/qd_anti_spider/meHiBKdX.woff') format('woff'), url('https://qidian.gtimg.com/qd_anti_spider/meHiBKdX.ttf') format('truetype'); } .meHiBKdX { font-family: 'meHiBKdX' !important;     display: initial !important; color: inherit !important; vertical-align: initial !important; }</style><span class="meHiBKdX"></span></em><cite></cite><i></i><em><style>@font-face { font-family: meHiBKdX; src: url('https://qidian.gtimg.com/qd_anti_spider/meHiBKdX.eot?') format('eot'); src: url('https://qidian.gtimg.com/qd_anti_spider/meHiBKdX.woff') format('woff'), url('https://qidian.gtimg.com/qd_anti_spider/meHiBKdX.ttf') format('truetype'); } .meHiBKdX { font-family: 'meHiBKdX' !important;     display: initial !important; color: inherit !important; vertical-align: initial !important; }</style><span class="meHiBKdX"></span></em><cite></cite></p>
        
        <p><a class="red-btn J-getJumpUrl " href="{{ url('book:book_content') }}?book={{ book.id }}&num={{ first.order_id }}" id="readBtn" data-eid="qd_G03" data-bid="1004608738" data-firstchapterjumpurl="//read.qidian.com/chapter/_AaqI-dPJJ4uTkiRw_sFYA2/eSlFKP1Chzg1">开始阅读</a>
            {% if t_f %}
             <a class="blue-btn add-book" id="addBookBtn" href="javascript:;" onclick="del({{ book.id }})" data-eid="qd_G05" data-bookid="{{ book.id }}" data-bid="{{ book.id }}">取出书架</a>
            {% else %}
            <a class="blue-btn add-book" id="addBookBtn" href="javascript:;" onclick="book_list({{ book.id }})" data-eid="qd_G05" data-bookid="{{ book.id }}" data-bid="{{ book.id }}">加入书架</a>
            {% endif %}
        </p>
        
    </div>
    
    <div class="comment-wrap">
        <div id="commentWrap">

        </div>
    </div>

    

</div>

        
        <div class="content-nav-wrap cf" data-l1="3">
            <div class="nav-wrap fl">
                <ul>
                    <li class=""><a class="lang" id="j-bookInfoPage" href="{{ url('book:book_info', args=(book.id, )) }}" data-eid="qd_G15">作品信息</a></li>
                    <li class="j_catalog_block act"><a class="lang" href="javascript:" id="j_catalogPage" data-eid="qd_G16">目录<i><span id="J-catalogCount">({{ book.book_info_set.count() }}章)</span></i></a></li>
                    
                    <!-- <li class="j_discussion_block"><a class="lang" href="//forum.qidian.com/NewForum/List.aspx?BookId=1004608738" target="_blank" data-eid="qd_G17">作品讨论<i><span id="J-discusCount"></span></i></a></li> -->
                    
                </ul>
            </div>
        </div>
        <div class="catalog-content-wrap" id="j-catalogWrap" data-l1="14" style="display: block;">
<!-- start 目录分卷 -->
<div class="volume-wrap">
    
    <div class="volume">
        <div class="cover"></div>
        
        <h3>
            
            <a class="subscri" href="https://read.qidian.com/hankread/1004608738/60172322" target="_blank" data-eid="qd_G107"></a>

            正文卷<i>·</i>共{{ book.book_info_set.count() }}章<span class="free"></span></h3>
        <ul class="cf">
            {% for i in book_info %}
            <li data-rid="{{ loop.index }}"><a href="{{ url('book:book_content') }}?book={{ book.id }}&num={{ i.order_id }}" target="_blank" data-eid="qd_G55" data-cid="//read.qidian.com/chapter/_AaqI-dPJJ4uTkiRw_sFYA2/-doT6biEpYlOBDFlr9quQA2" title="">{{ i.content_name }}</a>
            </li>
            {% endfor %}
        </ul>
    </div>
    
</div>
<!-- end 目录分卷 -->
<!-- start 目录分卷 -->
<div class="volume-wrap">
    
    <div class="volume">
        <div class="cover"></div>
            
<div class="laypage-main" style="margin-left: 20%">
{% if page.number > 1 %}
                      <a href="?num=1" class="laypage-last" title="首页">首页</a>
{% endif %}
               {% for i in  [2, 1]%}
                    {% if page.number - i < page.num_pages and page.number - i > 0 %}
                      <a href="?num={{ page.number - i  }}">{{ page.number - i }}</a>
                    {% endif %}
                {% endfor %}
                      <span class="laypage-curr">{{ page.number }}</span>
                {% for i in  range(1, 3)%}

                    {% if page.number + i <= page.num_pages %}
                      <a href="?num={{ page.number + i }}">{{ page.number + i }}</a>
                    {% endif %}
                {% endfor %}
            {% if page.number + 3 <= page.num_pages %}
                  <span>…</span>
            {% endif %}
                {% if page.has_next() %}
                    <a href="?num={{ page.number + 1 }}" class="laypage-next">下一页</a>
                    <a href="?num={{ page.num_pages }}" class="laypage-last" title="尾页">尾页</a>
            {% endif %}

</div>

</div>
<!-- end 目录分卷 --></div>
        
    </div>
    <div class="footer">
    <div class="box-center cf">
        <div class="footer-text">
            <p>上海网警提示：网络刷单是违法 切莫轻信有返利，网上交友套路多 卖惨要钱需当心，电子红包莫轻点 个人信息勿填写，仿冒客服来行骗 官方核实最重要，招工诈骗有套路 预交费用需谨慎，低价充值莫轻信 莫因游戏陷套路，连接WIFI要规范 确认安全再连接，抢购车票有章法 确认订单再付款，白条赊购慎使用 提升额度莫轻信，网购预付有风险 正规渠道很重要 如网民接到962110电话，请立即接听。</p>
        </div>
        <div class="friend-link">
            <em><a class="yuewen" href="https://www.yuewen.com/" target="_blank">阅文集团</a><cite>旗下网站：</cite></em>
                <a href="https://www.qidian.com/">起点中文网</a>
                <a href="https://www.qdmm.com/" target="_blank">起点女生网</a>
                <a href="http://chuangshi.qq.com/" target="_blank">创世中文网</a>
                <a href="http://yunqi.qq.com/" target="_blank">云起书院</a>
                <!--<a href="http://www.rongshuxia.com" target="_blank">榕树下</a>-->
                <a href="https://www.hongxiu.com/" target="_blank">红袖添香</a>
                <a href="https://www.readnovel.com/" target="_blank">小说阅读网</a>
                <a href="https://www.xs8.cn/" target="_blank">言情小说吧</a>
                <a href="http://www.xxsy.net/" target="_blank">潇湘书院</a>
                <a href="http://www.tingbook.com/" target="_blank">天方听书网</a>
                <a href="http://www.lrts.me/" target="_blank">懒人听书</a>
                <a href="http://yuedu.yuewen.com/" target="_blank">阅文悦读</a>
                <a href="https://www.yuewen.com/app.html#appqq" target="_blank">QQ阅读</a>
                <a href="https://www.yuewen.com/app.html#appqd" target="_blank">起点读书</a>
                <a href="https://www.yuewen.com/app.html#appzj" target="_blank">作家助手</a>
                <a href="https://www.webnovel.com/" target="_blank" title="Qidian International">起点国际版</a>
        </div>
        <div class="footer-menu dib-wrap">
            <a href="https://www.qidian.com/about/intro" target="_blank">关于起点</a>
            <a href="https://www.qidian.com/about/contact" target="_blank">联系我们</a>
            <a href="https://join.yuewen.com/" target="_blank">加入我们</a>
            <a href="https://www.qidian.com/help/index/2" target="_blank">帮助中心</a>
            <a href="http://123.206.70.240/online/?cid=0&amp;uid=10&amp;code=0" class="advice" target="_blank">提交建议</a>
            <!--<a href="http://bbs.qidian.com" target="_blank">起点论坛</a>-->
            <!--<a href="http://comic.qidian.com" target="_blank">动漫频道</a>-->
            <a href="https://jubao.yuewen.com/" target="_blank">举报中心</a>
        </div>
        <div class="copy-right">
            <p><span>Copyright © 2002-2019 www.qidian.com All Rights Reserved</span>版权所有 上海玄霆娱乐信息科技有限公司</p>
            <p>网站备案/许可证号：<a href="http://beian.miit.gov.cn/publish/query/indexFirst.action" target="_blank">沪B2-20080046-1</a>&nbsp;出版经营许可证：新出发沪批字第 U3718 号&nbsp;网络文化经营许可证：沪网文[2015]0081-031 新出网证（沪）字 010</p>
            <p>请所有作者发布作品时务必遵守国家互联网信息管理办法规定，我们拒绝任何色情小说，一经发现，即作删除！举报电话：010-59357051</p>
            <p>本站所收录的作品、社区话题、用户评论、用户上传内容或图片等均属用户个人行为。如前述内容侵害您的权益，欢迎举报投诉，一经核实，立即删除，本站不承担任何责任</p>
            <p>联系方式 总机 021-61870500 地址：中国（上海）自由贸易试验区碧波路690号6号楼101、201室</p>
        </div>
        
    </div>
</div>

</div>

<script>
    function book_list(book_id) {
        var params = {
            "book_id": book_id
        };
        $.ajax({
            url:"{{ url('user:my_book_list') }}",
            type: "post",
                        headers:{ "X-CSRFtoken":"{{ csrf_token }}"},
            data: JSON.stringify(params),
            contentType: "application/json",
            success: function (resp) {
                if (resp.code == "0"){
                    // 刷新当前界面
                    alert(resp.errmsg)
                    location.href=""
                }else if(resp.code){
                    alert(resp.errmsg);
                }else {
                    alert("请先登录");
                    location.href="/login"
                }
            }
        })
    }
</script>
<script>
function del(book_id) {
        var params = {
            "book_id": book_id
        };
        $.ajax({
            url:"{{ url('user:my_book_list') }}",
            type: "DELETE",
            data: JSON.stringify(params),
                        headers:{ "X-CSRFtoken":"{{ csrf_token }}"},
            contentType: "application/json",
            success: function (resp) {
                if (resp.code == "0"){
                    // 刷新当前界面
                    alert(resp.errmsg)
                    location.href = ""
                }else if(resp.code){
                    alert(resp.errmsg);
                }else {
                    alert("请先登录")
                    location.href="/login"
                }
}
})

}

</script>
</body></html>